//+build wireinject

package se

import (
	"gitee.com/xuender/oils/gui"
	"gitee.com/xuender/oils/level"
	"github.com/google/wire"
)

// InitApp 初始化客户端应用.
func InitApp(ctx *Context) *App {
	panic(wire.Build(
		NewDB,
		NewApp,
		NewService,
		NewFileService,
		NewWordService,
		level.NewService,
		gui.NewGUI,
	))
}
